#pragma once
#include "Point.h"

Point::Point(int _x, int _y){
	this->x = _x;
	this->y = _y;
}

Point::~Point(){}

Point::Point(const Point& point){
	this->x = point.x;
	this->y = point.y;
}
const Point& Point::operator=(const Point& point){
	if (this != &point){
		this->x = point.x;
		this->y = point.y;
	}

	return *this;
}

void Point::setX(int newX){
	this->x = newX;
}

int Point::getX() const{
	return x;
}


void Point::setY(int newY){
	this->y = newY;
}

int Point::getY() const{
	return y;
}